package com.nuyoah.common.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
public class RoleDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户唯一标识符，自增长
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String roleName;
}
